package io.renren.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 第三方支付记录表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
@Data
@ApiModel(value = "第三方支付记录表")
public class XlsLogThirdpayDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	private Long id;

	@ApiModelProperty(value = "用户ID")
	private Integer userId;

	@ApiModelProperty(value = "内部订单号")
	private String orderNo;

	@ApiModelProperty(value = "业务类型 BUY_GOODS:商城消费 BUY_SCORE:购买积分 RECHARGE:充值 UPGRADE:升级")
	private String businessType;

	@ApiModelProperty(value = "支付类型 1-aipay微信 2-aipay支付宝 3-aipay快捷")
	private Integer payType;

	@ApiModelProperty(value = "商户号")
	private String ino;

	@ApiModelProperty(value = "支付金额")
	private BigDecimal payMoney;

	@ApiModelProperty(value = "支付流水单号")
	private String outTradeNo;

	@ApiModelProperty(value = "请求数据")
	private String request;

	@ApiModelProperty(value = "支付成功返回的数据")
	private String response;

	@ApiModelProperty(value = "响应时间")
	private Date responseTime;

	@ApiModelProperty(value = "状态 0未请求第三方接口  1已获取支付链接或跳入快捷页面 2已接收到异步响应 3处理完回调方法 4处理失败 5重复支付")
	private Integer payStatus;

	@ApiModelProperty(value = "0：正常；1：手动补单")
	private Integer handleStatus;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "删除标记 0删除 1显示）")
	private Integer dataFlag;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;


}